{#include file="admin_header.htm"#}
{#include file="admin_explain_nav.htm"#}
<script type="text/javascript" src="js/selectAll.js"></script>
<div class="admin_main_nr_box">
  <table width="700" border="0" cellspacing="8" cellpadding="0" class="link_lan">
    <tr>
      <td width="97" height="22" align="center" background="images/article_category_bg.jpg"><span style="background-repeat:no-repeat">说明页分类</span></td>
      <td>
	  <div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $type_id eq ""#}background-color: #DFEDF7{#/if#}"><a href="?type_id=">不限分类</a></div>
	  {#section name=get_explain_category loop=$get_explain_category#}
	  <div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $type_id==$get_explain_category[get_explain_category].id#}background-color: #DFEDF7{#/if#}"><a href="?type_id={#$get_explain_category[get_explain_category].id#}">{#$get_explain_category[get_explain_category].categoryname#}</a></div>
{#/section#}
	 <div class="clear"></div> </td>
    </tr>
  </table>
  <table width="700" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><table width="150" border="0" cellspacing="2" cellpadding="0">
          <form action="" method="post" name="form3" id="form3">
            <tr>
              <td width="41">每页：</td>
              <td width="20"><input name="perpage" type="text" id="perpage"  style="width:30px; height:15px; color:#666666; border:1px #97ADCE solid; text-align:center"  onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');" value="{#$perpage#}" maxlength="3"onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/></td>
              <td width="81"><input  style="font-family:Arial; font-size:10px; height:22px;" type="submit" name="Submitok"  value="OK" /></td>
            </tr>
          </form>
      </table></td>
      <td width="61%"><table width="300"  border="0" align="right" cellpadding="0" cellspacing="2">
          <form action="" method="post" name="form2" id="form2">
            <tr>
              <td width="112" align="right">&nbsp;</td>
              <td width="130"><input name="key" type="text" id="key" style=" width:130px; height:15px; font-size:12px; background-image:url(images/zoom.png); background-repeat:no-repeat; padding-left:18px;" value="{#$key#}" maxlength="6" /></td>
              <td width="50"><input name="Submit4" type="submit"  value="搜索" style="height:24px; width:50px; font-size:12px;" /></td>
            </tr>
          </form>
      </table></td>
    </tr>
  </table>
  <form id="form1" name="form1" method="post" action="?act=migrate_del">
  <table width="700" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
    <tr>
      <td width="95" height="26" bgcolor="#D0E2F7" style="padding-left:4px;">
      <input type="checkbox" name="chkAll" title="全选/反选" onClick="selectAll()"/>
      全选/反选</td>
      <td bgcolor="#D0E2F7" style="padding-left:15px;">说明页名称</td>
      <td width="120" align="center" bgcolor="#D0E2F7"> 所属分类 </td>
      <td width="40" align="center" bgcolor="#D0E2F7" >排序</td>
      <td width="100" align="center" bgcolor="#D0E2F7"  >添加日期</td>
      <td width="100" align="center" bgcolor="#D0E2F7"  >操作</td>
    </tr>
  </table>
    <table width="700" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="link_bk">
      {#section name=explain_list loop=$explain_list#}
      <tr class="row">
      <td width="26" align="center" style="border-bottom:1px #CCCCCC solid; padding-left:2px;">
        <input name="y_id[]" type="checkbox" id="y_id" value="{#$explain_list[explain_list].id#}"  onclick="javascript:chkRow(this);"/>      </td>
        <td height="32" style="border-bottom:1px #CCCCCC solid">
		{#$explain_list[explain_list].url_title#}
		{#if $explain_list[explain_list].is_display!="1"#}
	<span style="color:#999999">&nbsp;&nbsp;&nbsp;&nbsp;[已屏蔽]</span>
		{#/if#}
		</td>
        <td width="120" align="center" style="border-bottom:1px #CCCCCC solid"><a href="?type_id={#$explain_list[explain_list].type_id#}">[{#$explain_list[explain_list].type_id_name#}]</a></td>
        <td width="40" align="center" style="border-bottom:1px #CCCCCC solid">{#$explain_list[explain_list].show_order#}</td>
        <td width="100" align="center" style="border-bottom:1px #CCCCCC solid">{#$explain_list[explain_list].addtime|date_format:"%Y-%m-%d"#}</td>
        <td width="100" align="center" style="border-bottom:1px #CCCCCC solid"><a href="?act=edit&id={#$explain_list[explain_list].id#}">修改</a> <a href="?act=migrate_del&y_id={#$explain_list[explain_list].id#}" onclick="return confirm('你确定要删除吗？')">删除</a></td>
      </tr>
      {#sectionelse#}
  <tr>
    <td height="50" colspan="6" align="center">没有任何记录！</td>
  </tr>
      {#/section#}
    </table>
	<table width="700" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><span style="width:300px; height:40px; float:left; padding-top:10px">
          <input type="submit" name="del_Submit" value="删除所选" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" onclick="return confirm('你确定要删除吗？')"/>
          &nbsp;&nbsp;
          <input type="button" name="Submit22" value="添加说明页" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" onclick="window.location='?act=add'"/>
        </span></td>
        <td><table width="380" border="0" align="right" cellpadding="0" cellspacing="2">
          <tr>
            <td width="300" align="right">将所选项目转移至： </td>
            <td align="right"><select name="category" id="category" style="font-size:12px;">
<option value="">请选择目标分类：</option>
{#section name=get_explain_category loop=$get_explain_category#}
<option value="{#$get_explain_category[get_explain_category].id#}" >{#$get_explain_category[get_explain_category].categoryname#}</option>
{#/section#}
</select></td>
            <td><input name="migrate" type="submit"  value="执行" style="height:24px; width:50px; font-size:12px;" /></td>
          </tr>
        </table></td>
      </tr>
    </table>
  </form>
	    <table width="700" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0" align="center" cellpadding="0" cellspacing="0" class="link_page">
          <tr>
            <td height="40" align="center" >{#$page#}</td>
          </tr>
        </table></td>
      </tr>
    </table>
</div>
{#include file="admin_footer.htm"#}
</body>
</html>